package abstractClasses;

import java.text.Normalizer;
import java.util.regex.Pattern;

/**
 *  Ote les accents d'une chaine
 **/
 public abstract class TransformationString
 {

		public static String oterLesAccents(String s) 
		{
			String strTemp = Normalizer.normalize(s, Normalizer.Form.NFD);
	        Pattern pattern = Pattern.compile("\\p{InCombiningDiacriticalMarks}+");
	        return pattern.matcher(strTemp).replaceAll("");
	    }
}
